GtkLabel: Drop references to GtkMisc
authorMatthias Clasen <mclasen@redhat.com>
Tue, 13 May 2014 11:14:11 +0000 (07:14 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 13 May 2014 11:14:38 +0000 (07:14 -0400)
GtkMisc is heading for retirement. Point to the GtkWidget h/valign
properties instead.

gtk/gtklabel.c

index e593517168a33a589f9c944a84ef4a23c3e376d8..69f633a30a62ed8db550fdd4971b9ae233971298 100644 (file)
  *
  * gtk_label_set_justify() sets how the lines in a label align
  * with one another. If you want to set how the label as a whole
- * aligns in its available space, see gtk_misc_set_alignment().
+ * aligns in its available space, see the #GtkWidget::halign and
+ * #GtkWidget:valign properties.
  *
  * The #GtkLabel:width-chars and #GtkLabel:max-width-chars properties
  * can be used to control the size allocation of ellipsized or wrapped
@@ -2803,12 +2804,12 @@ gtk_label_set_pattern (GtkLabel    *label,
  * @jtype: a #GtkJustification
  *
  * Sets the alignment of the lines in the text of the label relative to
- * each other. %GTK_JUSTIFY_LEFT is the default value when the
- * widget is first created with gtk_label_new(). If you instead want
- * to set the alignment of the label as a whole, use
- * gtk_misc_set_alignment() instead. gtk_label_set_justify() has no
- * effect on labels containing only a single line.
- **/
+ * each other. %GTK_JUSTIFY_LEFT is the default value when the widget is
+ * first created with gtk_label_new(). If you instead want to set the
+ * alignment of the label as a whole, use gtk_widget_set_halign() instead.
+ * gtk_label_set_justify() has no effect on labels containing only a
+ * single line.
+ */
 void
 gtk_label_set_justify (GtkLabel        *label,
                       GtkJustification jtype)